package com.xxx.reggie.common;

public class BaseContext {
    private static ThreadLocal<Long> thread = new ThreadLocal<>();

    public static void setCurrentId(Long id){
        thread.set(id);
    }

    public static Long getCurrentId(){
        return thread.get();
    }
}
